-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(op): type safety in computation of op tx metadata #10619
Conversation
…imism_rpc::OpEthApi
…pReceiptMetaBuilder
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would recommend to not make changes in the node core SDK API unless absolutely needed -- this breaks everyone integrating it and not obvious to me it's needed
it wasn't possible for me to make a unit test for it before @gakonst , it was too confusing |
…th unmodified input from block scanner
…mxyz/reth into emhane/op-receipt-fields-builder
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!
Cleans up semantics from #10615 in a way that makes the logic understandable for non-original authors that aren't familiar with op data type intricacies.
reth_optimism_rpc::OpTxMeta
asOpReceiptFieldsBuilder
, which buildsop_alloy_rpc_types::OptimismTransactionReceiptFields